<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:68:"C:\wamp\www\tp5\public/../application/admin\view\category\child.html";i:1536635754;s:65:"C:\wamp\www\tp5\public/../application/admin\view\index\index.html";i:1536635754;}*/ ?>
<!DOCTYPE html>
<html lang="cn">
<head>
    <meta charset="utf-8"/>
    <title>控制台 - Bootstrap后台管理系统模版Ace下载</title>
    <meta name="keywords" content="Bootstrap模版,Bootstrap模版下载,Bootstrap教程,Bootstrap中文"/>
    <meta name="description" content="站长素材提供Bootstrap模版,Bootstrap教程,Bootstrap中文翻译等相关Bootstrap插件下载"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <!-- basic styles -->
    <link href="/static/admin/css/bootstrap.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="/static/admin/css/font-awesome.min.css"/>
    <link rel="stylesheet" href="/static/admin/css/toastr.css"/>
    <!--[if IE 7]>
    <link rel="stylesheet" href="/static/admin/css/font-awesome-ie7.min.css"/>
    <![endif]-->
    
    
    <!-- page specific plugin styles -->

    <!-- fonts -->

    <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,300"/>
    <!-- 天气 -->
    <!--<link rel="stylesheet" type="text/css" href="/static/admin/css/normalize.css" />-->
    <!--<link rel="stylesheet" type="text/css" href="/static/admin/css/default.css">-->
    <!--<link rel="stylesheet" type="text/css" href="/static/admin/css/styles.css">-->

    <!-- ace styles -->
    <link rel="stylesheet" href="/static/admin/css/ace.min.css"/>
    <link rel="stylesheet" href="/static/admin/css/ace-rtl.min.css"/>
    <link rel="stylesheet" href="/static/admin/css/ace-skins.min.css"/>

    <!--[if lte IE 8]>
    <link rel="stylesheet" href="/static/admin/css/ace-ie.min.css"/>
    <![endif]--

    <!-- inline styles related to this page -->

    <!-- ace settings handler -->

    <script src="/static/admin/js/ace-extra.min.js"></script>

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->

    <!--[if lt IE 9]>
    <script src="/static/admin/js/html5shiv.js"></script>
    <script src="/static/admin/js/respond.min.js"></script>
    <![endif]-->

    <!-- 天气 -->
    <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
    <!-- //For-Mobile-Apps -->
    <!-- Style -->
    <link rel="stylesheet" href="/static/admin/css/style1.css" type="text/css" media="all" />
    <!-- Style -->
    <!-- JavaScript -->
    <script type="text/javascript" src="/static/admin/js/jquery.min.js"></script>
    <!-- end 天气 -->
</head>
<script>
//function startTime() {
//    var today = new Date();
//    var h = today.getHours();
//    var m = today.getMinutes();
//    var s = today.getSeconds();
//    m = checkTime(m);
//    s = checkTime(s);
//    document.getElementById('txt').innerHTML =
//    h + ":" + m + ":" + s;
//    var t = setTimeout(startTime, 500);
//}
//function checkTime(i) {
//    if (i < 10) {i = "0" + i};  // add zero in front of numbers < 10
//    return i;
//}
</script>
<body >

<div class="navbar navbar-default" id="navbar">
    <script type="text/javascript">
        try {
            ace.settings.check('navbar', 'fixed')
        } catch (e) {
        }
    </script>

    <div class="navbar-container" id="navbar-container">
        <div class="navbar-header pull-left">
            <a href="#" class="navbar-brand">
                <small>
                    <i class="icon-leaf"></i>
                    ACE后台管理系统
                </small>
            </a><!-- /.brand -->
        </div><!-- /.navbar-header -->

        <div class="navbar-header pull-right" role="navigation">
            <ul class="nav ace-nav">


                <li class="green">
                    <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                        <i class="icon-envelope icon-animated-vertical"></i>
                        <span class="badge badge-success">
                            <?php if (isset($picnum)): ?>
                                <?php echo $picnum; else: endif ?>
                        </span>
                    </a>

                    <ul class="pull-right dropdown-navbar dropdown-menu dropdown-caret dropdown-close">
<!--                         <li class="dropdown-header">
                            <i class="icon-envelope-alt"></i>
                              张未审核的图片
                        </li> -->

                        <li>
                            <a href="#">
                                <img src="/static/admin/avatars/user.jpg" class="msg-photo" alt="Alex's Avatar"/>
                                <span class="msg-body">
                                            <span class="msg-title">
                                                <span class="blue" style='font-size: 18px;'> 
                                                    <?php if (isset($picnum)): ?>
                                                    还有未审核的图片
                                                    <?php else: ?>
                                                        暂无消息
                                                    <?php endif ?>
    
                                                </span>
                                                
                                            </span>

                                        <!--     <span class="msg-time">
                                                <i class="icon-time"></i>
                                                <span>1分钟以前</span>
                                            </span> -->
                                        </span>
                            </a>
                        </li>


                        <li>
                            <a href="/uncheck">
                                <?php if (isset($picnum)): ?>
                                        去处理
                                    <?php else: ?>
                                        去添加一点吧
                                    <?php endif ?>
                                <i class="icon-arrow-right"></i>
                            </a>
                        </li>
                    </ul>
                </li>

                <li class="light-blue">
                    <a data-toggle="dropdown" href="#" class="dropdown-toggle">
                        <img class="nav-user-photo" src="/static/admin/avatars/user.jpg" alt="Jason's Photo"/>
                        <span class="user-info">
                                    <small>欢迎光临,</small>
                                    <?php echo session('admin')['name'] ?>
                                </span>

                        <i class="icon-caret-down"></i>
                    </a>

                    <ul class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
 

                        <li>
                            <a href="/logout">
                                <i class="icon-off"></i>
                                退出
                            </a>
                        </li>
                    </ul>
                </li>
            </ul><!-- /.ace-nav -->
        </div><!-- /.navbar-header -->
    </div><!-- /.container -->
</div>

<div class="main-container" id="main-container">
    <script type="text/javascript">
        try {
            ace.settings.check('main-container', 'fixed')
        } catch (e) {
        }
    </script>

    <div class="main-container-inner">
        <a class="menu-toggler" id="menu-toggler" href="#">
            <span class="menu-text"></span>
        </a>

        <div class="sidebar" id="sidebar">
            <script type="text/javascript">
                try {
                    ace.settings.check('sidebar', 'fixed')
                } catch (e) {
                }
            </script>




            <!--控制台-->
            <ul class="nav nav-list">
                <li class="active">
                    <a href="<?php echo url('admin/index/index'); ?>">
                        <i class="icon-dashboard"></i>
                        <span class="menu-text"> 控制台 </span>

                    </a>
                </li>



                <!-- 后台RBAC -->
                <li>
                    <a href="#" class="dropdown-toggle">
                        <i class="icon-group"></i>
                        <span class="menu-text"> 后台权限管理 </span>

                        <b class="arrow icon-angle-down"></b>
                    </a>

                    <ul class="submenu">
                        <li>
                            <a href="<?php echo url('admin/user/index'); ?>">
                                <i class="icon-double-angle-right"></i>
                                用户信息管理
                            </a>
                        </li>

                        <li>
                            <a href="<?php echo url('admin/role/index'); ?>">
                                <i class="icon-double-angle-right"></i>
                                用户权限管理
                            </a>
                        </li>

                        <li>
                            <a href="<?php echo url('admin/privilege/index'); ?>">
                                <i class="icon-double-angle-right"></i>
                                角色权限分配
                            </a>
                        </li>
                    </ul>
                </li>

                <!-- 图片管理 -->
                <li>
                    <a href="#" class="dropdown-toggle">
                        <i class="icon-camera"></i>
                        <span class="menu-text"> 图片管理 </span>

                        <b class="arrow icon-angle-down"></b>
                    </a>

                    <ul class="submenu">
                        <li>
                            <a href="<?php echo url('admin/goods/index'); ?>">
                                <i class="icon-double-angle-right"></i>
                                已审核图片
                            </a>
                        </li>

                        <li>
                            <a href="<?php echo url('admin/goods/uncheck'); ?>">
                                <i class="icon-double-angle-right"></i>
                                未审核图片
                            </a>
                        </li>

                        <li>
                            <a href="<?php echo url('admin/goods/banner'); ?>">
                                <i class="icon-double-angle-right"></i>
                                轮播图管理
                            </a>
                        </li>

                    </ul>
                </li>



                <!-- 图片分类 -->
                <li>
                    <a href="#" class="dropdown-toggle">
                        <i class=" icon-picture"></i>
                        <span class="menu-text"> 图片分类管理 </span>

                        <b class="arrow icon-angle-down"></b>
                    </a>
                    <ul class="submenu">
                        <li>
                            <a href="<?php echo url('admin/category/index'); ?>">
                                <i class="icon-double-angle-right"></i>
                                图片分类管理
                            </a>
                        </li>

                        <li>
                            <a href="/addcate">
                                <i class="icon-double-angle-right"></i>
                                添加一级分类
                            </a>
                        </li>
                    </ul>
                </li>

                <!-- 用户 -->
                <li>
                    <a href="#" class="dropdown-toggle">
                        <i class=" icon-user"></i>
                        <span class="menu-text"> 用户管理 </span>
                        <b class="arrow icon-angle-down"></b>
                    </a>
                    <ul class="submenu">
                        <li>
                            <a href="<?php echo url('admin/member/index'); ?>">
                                <i class="icon-double-angle-right"></i>
                                用户列表
                            </a>
                        </li>
                    </ul>
                </li>
                
                <!-- 友链 -->
                <li>
                    <a href="#" class="dropdown-toggle">
                        <i class=" icon-globe"></i>
                        <span class="menu-text"> 友情链接 </span>
                        <b class="arrow icon-angle-down"></b>
                    </a>
                    <ul class="submenu">
                        <li>
                            <a href="<?php echo url('admin/Link/index'); ?>">
                                <i class="icon-double-angle-right"></i>
                                友链管理
                            </a>
                        </li>
                        <li>
                            <a href="<?php echo url('admin/Link/create'); ?>">
                                <i class="icon-double-angle-right"></i>
                                添加友情链接
                            </a>
                        </li>
                    </ul>
                </li>

                <!-- 广告 -->
                <li>
                    <a href="#" class="dropdown-toggle">
                        <i class="icon-glass"></i>
                        <span class="menu-text"> 广告管理 </span>
                        <b class="arrow icon-angle-down"></b>
                    </a>
                    <ul class="submenu">
                        <li>
                            <a href="<?php echo url('admin/Advertisement/index'); ?>">
                                <i class="icon-double-angle-right"></i>
                                广告列表
                            </a>
                        </li>
                        <li>
                            <a href="<?php echo url('admin/Advertisement/create'); ?>">
                                <i class="icon-double-angle-right"></i>
                                添加广告
                            </a>
                        </li>
                    </ul>
                </li>
            </ul><!-- /.nav-list -->
        <!--end控制台-->


            <div class="sidebar-collapse" id="sidebar-collapse">
                <i class="icon-double-angle-left" data-icon1="icon-double-angle-left"
                   data-icon2="icon-double-angle-right"></i>
            </div>

            <script type="text/javascript">
                try {
                    ace.settings.check('sidebar', 'collapsed')
                } catch (e) {
                }
            </script>
        </div>


                <div class="main-content">
                    <div class="breadcrumbs" id="breadcrumbs">
                        <script type="text/javascript">
                            try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
                        </script>

                        <ul class="breadcrumb">
                            <li>
                                <i class="icon-home home-icon"></i>
                                <a href="#">Home</a>
                            </li>

                            <li>
                                <a href="/category">分类管理</a>
                            </li>
                            <li class="active">子分类详情</li>
                        </ul><!-- .breadcrumb -->

                    </div>

                    <div class="page-content">
                                <div class="row">
                                    <div class="col-xs-12">
 
                                        <div class="table-header">
                                            云图网后台分类管理
                                        </div>

                                        <div class="table-responsive">
                                            <table id="sample-table-2" class="table table-striped table-bordered table-hover">
                                                <thead>
                                                    <tr>
                                                        <th class="center">
                                                            <label>
                                                                <input type="checkbox" class="ace" />
                                                                <span class="lbl"></span>
                                                            </label>
                                                        </th>
                                                        <th>Id</th>
                                                        <th>Name</th>
                                                        <th class="hidden-480">Pid</th>

                                                        <th>
                                                            <i class="icon-time bigger-110 hidden-480"></i>
                                                            path
                                                        </th>
                                                        <th class="hidden-480">Status</th>
                                                        <th>Action</th>
                                                    </tr>
                                                </thead>

                                                <tbody>

                                                    <?php if(is_array($list) || $list instanceof \think\Collection || $list instanceof \think\Paginator): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
                                                    <tr>
                                                        <td class="center">
                                                            <label>
                                                                <input type="checkbox" class="ace" />
                                                                <span class="lbl"></span>
                                                            </label>
                                                        </td>

                                                        <td>
                                                            <a href="#"><?php echo $v['id']; ?></a>
                                                        </td>
                                                        <td><?php echo $v['name']; ?></td>
                                                        <td class="hidden-480"><?php echo $v['pid']; ?></td>
                                                        <td><?php echo $v['path']; ?></td>

                                                        <td class="hidden-480">
                                                                <?php switch ($v['display']) 
                                                                {case 1:?>
                                                            <span class="label label-sm label-warning">
                                                                    显示  </span>
                                                                    <?php break;case 2:?>
                                                                    <span class="label label-sm label-light">
                                                                    隐藏  </span>
                                                                    <?php break;} ?>
                                                            </span>
                                                        </td>

                                                        <td>
                                                            <div class="visible-md visible-lg hidden-sm hidden-xs action-buttons">
                                                                <a class="red" href="/cate/create?id=<?php echo $v['id']; ?>&path=<?php echo $v['path']; ?>&name=<?php echo $v['name']; ?>" >
                                                                    <span class="glyphicon glyphicon-plus" style='font-size:25px'>
                                                                </a>
                                                                <a class="blue" href="/cate/<?php echo $v['id']; ?>">
                                                                    <i class="icon-zoom-in bigger-130"></i>
                                                                </a>

                                                                <a class="green" href="/cate/<?php echo $v['id']; ?>/edit">
                                                                    <i class="icon-pencil bigger-130"></i>
                                                                </a>

                                                                <a class="red del" href="javascript:void(0)" data-id='<?php echo $v["id"]; ?>'>
                                                                    <i class="icon-trash bigger-130"></i>
                                                                </a>
                                                                
                                                            </div>

                                                            <div class="visible-xs visible-sm hidden-md hidden-lg">
                                                                <div class="inline position-relative">
                                                                    <button class="btn btn-minier btn-yellow dropdown-toggle" data-toggle="dropdown">
                                                                        <i class="icon-caret-down icon-only bigger-120"></i>
                                                                    </button>

                                                                    <ul class="dropdown-menu dropdown-only-icon dropdown-yellow pull-right dropdown-caret dropdown-close">
                                                                        <li>
                                                                            <a href="#" class="tooltip-info" data-rel="tooltip" title="View">
                                                                                <span class="blue">
                                                                                    <i class="icon-zoom-in bigger-120"></i>
                                                                                </span>
                                                                            </a>
                                                                        </li>

                                                                        <li>
                                                                            <a href="#" class="tooltip-success" data-rel="tooltip" title="Edit">
                                                                                <span class="green">
                                                                                    <i class="icon-edit bigger-120"></i>
                                                                                </span>
                                                                            </a>
                                                                        </li>

                                                                        <li>
                                                                            <a href="#" class="tooltip-error" data-rel="tooltip" title="Delete">
                                                                                <span class="red">
                                                                                    <i class="icon-trash bigger-120"></i>
                                                                                </span>
                                                                            </a>
                                                                        </li>
                                                                    </ul>
                                                                </div>
                                                            </div>
                                                        </td>
                                                    </tr>

                                                    <?php endforeach; endif; else: echo "" ;endif; ?>
                                                </tbody>
                                            </table>
                                            <a href="javascript:void(0)" id='goback'>
                                            <button class="btn btn-danger btn-sm">
                                                <i class="icon-reply icon-only">上一级</i>
                                            </button>
                                            </a>


                                        </div>
                                    </div>
                                </div>

                                <div id="modal-table" class="modal fade" tabindex="-1">
                                    <div class="modal-dialog">
                                        <div class="modal-content">
                                            <div class="modal-header no-padding">
                                                <div class="table-header">
                                                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                                                        <span class="white">&times;</span>
                                                    </button>
                                                    Results for "Latest Registered Domains
                                                </div>
                                            </div>

                                            <div class="modal-body no-padding">
                                                <table class="table table-striped table-bordered table-hover no-margin-bottom no-border-top">
                                                    <thead>
                                                        <tr>
                                                            <th>Domain</th>
                                                            <th>Price</th>
                                                            <th>Clicks</th>

                                                            <th>
                                                                <i class="icon-time bigger-110"></i>
                                                                Update
                                                            </th>
                                                        </tr>
                                                    </thead>

                                                    <tbody>
                                                        <tr>
                                                            <td>
                                                                <a href="#">ace.com</a>
                                                            </td>
                                                            <td>$45</td>
                                                            <td>3,330</td>
                                                            <td>Feb 12</td>
                                                        </tr>

                                                        <tr>
                                                            <td>
                                                                <a href="#">base.com</a>
                                                            </td>
                                                            <td>$35</td>
                                                            <td>2,595</td>
                                                            <td>Feb 18</td>
                                                        </tr>

                                                        <tr>
                                                            <td>
                                                                <a href="#">max.com</a>
                                                            </td>
                                                            <td>$60</td>
                                                            <td>4,400</td>
                                                            <td>Mar 11</td>
                                                        </tr>

                                                        <tr>
                                                            <td>
                                                                <a href="#">best.com</a>
                                                            </td>
                                                            <td>$75</td>
                                                            <td>6,500</td>
                                                            <td>Apr 03</td>
                                                        </tr>

                                                        <tr>
                                                            <td>
                                                                <a href="#">pro.com</a>
                                                            </td>
                                                            <td>$55</td>
                                                            <td>4,250</td>
                                                            <td>Jan 21</td>
                                                        </tr>
                                                    </tbody>
                                                </table>
                                            </div>

                                            <div class="modal-footer no-margin-top">
                                                <button class="btn btn-sm btn-danger pull-left" data-dismiss="modal">
                                                    <i class="icon-remove"></i>
                                                    Close
                                                </button>

                                                <ul class="pagination pull-right no-margin">
                                                    <li class="prev disabled">
                                                        <a href="#">
                                                            <i class="icon-double-angle-left"></i>
                                                        </a>
                                                    </li>

                                                    <li class="active">
                                                        <a href="#">1</a>
                                                    </li>

                                                    <li>
                                                        <a href="#">2</a>
                                                    </li>

                                                    <li>
                                                        <a href="#">3</a>
                                                    </li>

                                                    <li class="next">
                                                        <a href="#">
                                                            <i class="icon-double-angle-right"></i>
                                                        </a>
                                                    </li>
                                                </ul>
                                            </div>
                                        </div><!-- /.modal-content -->
                                    </div><!-- /.modal-dialog -->
                                </div><!-- PAGE CONTENT ENDS -->
                            </div><!-- /.col -->
                        </div><!-- /.row -->
                    </div><!-- /.page-content -->
                </div><!-- /.main-content -->

<!-- basic scripts -->

<!--[if !IE]> -->

<script src="/static/admin/js/jquery-2.0.3.min.js"></script>

<script src="/static/admin/js/toastr.js"></script>

<!-- <![endif]-->

<!--[if IE]>
<script src="/static/admin/js/jquery-1.10.2/jquery.min.js"></script>
<![endif]-->

<!--[if !IE]> -->

<script type="text/javascript">
    window.jQuery || document.write("<script src='/static/admin/js/jquery-2.0.3.min.js'>" + "<" + "script>");
</script>

<!-- <![endif]-->

<!--[if IE]>
<script type="text/javascript">
    window.jQuery || document.write("<script src='/static/admin/js/jquery-1.10.2.min.js'>" + "<" + "script>");
</script>
<![endif]-->

<script type="text/javascript">
    if ("ontouchend" in document) document.write("<script src='/static/admin/js/jquery.mobile.custom.min.js'>" + "<" + "script>");
</script>
<!-- <script src="/static/admin/js/bootstrap.min.js"></script> -->
<script src="/static/admin/js/typeahead-bs2.min.js"></script>

<!-- page specific plugin scripts -->

<!--[if lte IE 8]>
<script src="/static/admin/js/excanvas.min.js"></script>
<![endif]-->


<!--[if IE]>
<script src="/static/admin/js/1.10.2/jquery.min.js"></script>
<![endif]-->

<!--[if !IE]> -->

<script type="text/javascript">
    window.jQuery || document.write("<script src='/static/admin/js/jquery-2.0.3.min.js'>" + "<" + "/script>");
</script>

<!-- <![endif]-->

<!--[if IE]>
<script type="text/javascript">
    window.jQuery || document.write("<script src='/static/admin/js/jquery-1.10.2.min.js'>" + "<" + "/script>");
</script>
<![endif]-->

<script type="text/javascript">
    if ("ontouchend" in document) document.write("<script src='/static/admin/js/jquery.mobile.custom.min.js'>" + "<" + "/script>");
</script>
<script src="/static/admin/js/bootstrap.min.js"></script>
<script src="/static/admin/js/typeahead-bs2.min.js"></script>

<!-- page specific plugin scripts -->

<script src="/static/admin/js/jquery.dataTables.min.js"></script>
<script src="/static/admin/js/jquery.dataTables.bootstrap.js"></script>

<!-- ace scripts -->

<script src="/static/admin/js/ace-elements.min.js"></script>
<script src="/static/admin/js/ace.min.js"></script>

<!-- inline scripts related to this page -->

<script type="text/javascript">

    // 删除分类
    $('.del').click(function(){
        var id=$(this).attr('data-id');
        var obj = $(this).parents('tr');
        if (confirm('你确定要  [删除]  吗?')) {
            var obj = $(this).parents('tr');
            // console.log(obj);
            delAjax(id,obj);
        }
    });

    function delAjax(id,obj){
        $.ajax({
            type:'delete',
            dataType:'json',
            url:'/cate/'+id,
            success:function(data){
                if (data.status) {
                    // console.log('删除成功');
                    toastr.success(data.info);
                    obj.remove();
                } else {
                    toastr.error(data.info, 'FBI WARNING:');
                    // console.log('删除失败');
                }
            },
            error:function(){
                alert('ajax执行失败');
            },
        });
    }
  $("#goback").on("click",function(){
　　      window.history.go(-1);
      })

    $('.edit-btn').click(function(){
        var edit_id=$(this).attr('data-id');
            updateAjax(edit_id);
    })

    function updateAjax(id){

        $.ajax({
            type:'post',
            dataType:'json',
            url:'role/'+id,
            data:{_method:'PUT'},
            success:function(data){


//                if(data.status){
//                    toastr.success(data.info);
//                    tr.remove();
//                }else{
//                    toastr.error(data.info,'警告');
//                }
            },
            error:function(){


            },
        });
    }







    jQuery(function ($) {
        var oTable1 = $('#sample-table-2').dataTable({
            "aoColumns": [
                {"bSortable": false},
                null, null, null, null, null,
                {"bSortable": false}
            ]
        });


        $('table th input:checkbox').on('click', function () {
            var that = this;
            $(this).closest('table').find('tr > td:first-child input:checkbox')
                .each(function () {
                    this.checked = that.checked;
                    $(this).closest('tr').toggleClass('selected');
                });

        });


        $('[data-rel="tooltip"]').tooltip({placement: tooltip_placement});
        function tooltip_placement(context, source) {
            var $source = $(source);
            var $parent = $source.closest('table')
            var off1 = $parent.offset();
            var w1 = $parent.width();

            var off2 = $source.offset();
            var w2 = $source.width();

            if (parseInt(off2.left) < parseInt(off1.left) + parseInt(w1 / 2)) return 'right';
            return 'left';
        }
    })

</script>

</script>
<div style="display:none">
    <script src='http://v7.cnzz.com/stat.php?id=155540&web_id=155540' language='JavaScript' charset='gb2312'></script>
</div>
</body>
</html>

